package com.xxmw.transaction.service;

import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxmw.transaction.common.entity.P;
import com.xxmw.transaction.model.SysRole;

public interface SysRoleService extends IService<SysRole> {
	
	default void addOrUpdate(SysRole role) {}

	default void deleteBatch(Long... roleIds) {};
	
	/**
	 * 查询用户创建的角色ID列表
	 */
	default List<Long> getRoleIdList(Long adder) {return new ArrayList<>();};
	
	default P<SysRole> getList(int pageNum, int pageSize, String roleName, Long adder) {return null;}

}
